package com.cookor.poi.modules.mx.entity;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.common.utils.excel.annotation.ExcelField;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import org.hibernate.validator.constraints.Length;

public class MxSfj extends DataEntity<MxSfj> {
  private static final long serialVersionUID = 1L;
  
  private String orderNo;
  
  private String userName;
  
  private String mobile;
  
  private String userType;
  
  private String tenantId;
  
  private String tenantName;
  
  private Date orderDate;
  
  private Date orderDateChu;
  
  private Date orderDateZhong;
  
  private Date orderDateMo;
  
  private String status;
  
  private Date queryDateUp;
  
  private Date queryDateDown;
  
  private String equityCode;
  
  public MxSfj() {}
  
  public MxSfj(String id) {
    super(id);
  }
  
  @Length(min = 1, max = 64, message = "客户姓名长度必须介于 1 和 64 之间")
  @ExcelField(title = "客户姓名", type = 1, align = 2, sort = 10)
  public String getUserName() {
    return this.userName;
  }
  
  public void setUserName(String userName) {
    this.userName = userName;
  }
  
  @Length(min = 1, max = 64, message = "手机号长度必须介于 1 和 64 之间")
  @ExcelField(title = "手机号", type = 1, align = 2, sort = 20)
  public String getMobile() {
    return this.mobile;
  }
  
  public void setMobile(String mobile) {
    this.mobile = mobile;
  }
  
  @Length(min = 0, max = 64, message = "用户类型长度必须介于 0 和 64 之间")
  @ExcelField(title = "用户类型", type = 1, align = 2, sort = 30, dictType = "mx_user_type")
  public String getUserType() {
    return this.userType;
  }
  
  public void setUserType(String userType) {
    this.userType = userType;
  }
  
  @Length(min = 0, max = 128, message = "机构id长度必须介于 0 和 128 之间")
  public String getTenantId() {
    return this.tenantId;
  }
  
  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }
  
  @Length(min = 0, max = 128, message = "机构名称长度必须介于 0 和 128 之间")
  @ExcelField(title = "机构名称", type = 1, align = 2, sort = 40)
  public String getTenantName() {
    return this.tenantName;
  }
  
  public void setTenantName(String tenantName) {
    this.tenantName = tenantName;
  }
  
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  @ExcelField(title = "预约时间（古法艾灸）", type = 1, align = 2, sort = 50)
  public Date getOrderDate() {
    return this.orderDate;
  }
  
  public void setOrderDate(Date orderDate) {
    this.orderDate = orderDate;
  }
  
  @Length(min = 0, max = 11, message = "状态长度必须介于 0 和 11 之间")
  public String getStatus() {
    return this.status;
  }
  
  public void setStatus(String status) {
    this.status = status;
  }
  
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  @ExcelField(title = "预约时间（初伏）", type = 1, align = 2, sort = 60)
  public Date getOrderDateChu() {
    return this.orderDateChu;
  }
  
  public void setOrderDateChu(Date orderDateChu) {
    this.orderDateChu = orderDateChu;
  }
  
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  @ExcelField(title = "预约时间（中伏）", type = 1, align = 2, sort = 70)
  public Date getOrderDateZhong() {
    return this.orderDateZhong;
  }
  
  public void setOrderDateZhong(Date orderDateZhong) {
    this.orderDateZhong = orderDateZhong;
  }
  
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  @ExcelField(title = "预约时间（末伏）", type = 1, align = 2, sort = 80)
  public Date getOrderDateMo() {
    return this.orderDateMo;
  }
  
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ExcelField(title = "创建时间", type = 1, align = 2, sort = 90)
  public Date getCreateDate() {
    return this.createDate;
  }
  
  public void setOrderDateMo(Date orderDateMo) {
    this.orderDateMo = orderDateMo;
  }
  
  public String getOrderNo() {
    return this.orderNo;
  }
  
  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }
  
  public String getEquityCode() {
    return this.equityCode;
  }
  
  public void setEquityCode(String equityCode) {
    this.equityCode = equityCode;
  }
  
  public Date getQueryDateUp() {
    return this.queryDateUp;
  }
  
  public void setQueryDateUp(Date queryDateUp) {
    this.queryDateUp = queryDateUp;
  }
  
  public Date getQueryDateDown() {
    return this.queryDateDown;
  }
  
  public void setQueryDateDown(Date queryDateDown) {
    this.queryDateDown = queryDateDown;
  }
}
